#include "String.h"
using std::cout;
using std::endl;

int main() {
    //std::cout << "Hello, World!" << std::endl;
    String s1 = "haha";
    cout << "s1: " << s1 << endl;
    String s2 = s1;
    cout << "s2: " << s2 << endl;
    String s3 = "hehe";
    cout << "s3: " << s3 << endl;
    s3 = s2;
    cout << "After s3 = s2: " << endl << "s3: " << s3 << endl;
    String s4 = "hehe";
    s4 += s3;
    cout << "s4 += s3: " << s4 << endl;
    return 0;
}
